package com.kit.personalkit.mapper;

import com.kit.personalkit.pojo.entity.Schedule;
import com.kit.personalkit.pojo.vo.ScheduleVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ScheduleMapper {
    int insertSchedule(Schedule schedule);
    ScheduleVO selectSchedule(int creatorId, String dateTime);

    ScheduleVO selectById(int id);

    int alterById(Schedule schedule);
    int deleteById(int id);

    List<ScheduleVO> selectAll(int id);

}
